package org.jeecg.modules.ecard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * <p>
 * 
 * </p>
 *
 * @author 杜正冬
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("SMART.SMART_VIRTUALMONEY")
@ApiModel(value = "SmartVirtualmoneyEntity对象", description = "")
public class SmartVirtualmoneyEntity extends Model<SmartVirtualmoneyEntity> {

    private static final long serialVersionUID = 1L;

    @TableId("SMT_VIRTUALID")
    private Long smtVirtualid;

    @TableField("SMT_PERSONNELID")
    private Long smtPersonnelid;

    @TableField("SMT_WALLETCODE")
    private String smtWalletcode;

    @TableField("SMT_OPENDATETIME")
    private Date smtOpendatetime;

    @TableField("SMT_TIMES")
    private Long smtTimes;

    @TableField("SMT_BALANCE")
    private String smtBalance;

    @TableField("SMT_FREEZEMONEY")
    private Long smtFreezemoney;

    @TableField("SMT_EXPIRYDATE")
    private Date smtExpirydate;

    @TableField("SMT_PASSWROD")
    private String smtPasswrod;

    @TableField("SMT_PASSWORDFLAG")
    private Short smtPasswordflag;

    @TableField("SMT_SIGLEMONEY")
    private Long smtSiglemoney;

    @TableField("SMT_PASSWORDERRORNO")
    private Short smtPassworderrorno;

    @TableField("SMT_STATUS")
    private String smtStatus;

    @TableField("SMT_CHANGEDATE")
    private Date smtChangedate;

    @TableField("SMT_FULLMONEY")
    private BigDecimal smtFullmoney;

    @TableField("SMT_CUSTMONEY")
    private BigDecimal smtCustmoney;

    @TableField("SMT_OPENSOURCE")
    private String smtOpensource;

    @TableField("SMT_LASTDEALMONEY")
    private Long smtLastdealmoney;

    @TableField("SMT_LASTDATETIME")
    private Date smtLastdatetime;

    @TableField("SMT_LASTDEALAUTHNO")
    private Long smtLastdealauthno;

    @TableField("SMT_LASTDEALTYPE")
    private String smtLastdealtype;

    @TableField("SMT_LASTINVOICENO")
    private Long smtLastinvoiceno;

    @Override
    public Serializable pkVal() {
        return this.smtVirtualid;
    }
}
